<?php
class PluginContentwedding_ModuleNews_EntityNews extends Entity
{
    public function getId()
    {
        return $this->_getDataOne('news_id');
    }

    public function getPid()
    {
        return $this->_getDataOne('news_pid');
    }

    public function getUrl()
    {
        return $this->_getDataOne('news_url');
    }

    public function getUrlFull()
    {
        return $this->_getDataOne('news_url_full');
    }

    public function getTitle()
    {
        return $this->_getDataOne('news_title');
    }

    public function getText()
    {
        return $this->_getDataOne('news_text');
    }

    public function getDateAdd()
    {
        return $this->_getDataOne('news_date_add');
    }

    public function getDateEdit()
    {
        return $this->_getDataOne('news_date_edit');
    }

    public function getSeoKeywords()
    {
        return $this->_getDataOne('news_seo_keywords');
    }

    public function getSeoDescription()
    {
        return $this->_getDataOne('news_seo_description');
    }

    public function getActive()
    {
        return $this->_getDataOne('news_active');
    }

    public function getMain()
    {
        return $this->_getDataOne('news_main');
    }

    public function getSort()
    {
        return $this->_getDataOne('news_sort');
    }

    public function getAutoBr()
    {
        return $this->_getDataOne('news_auto_br');
    }

    public function getLevel()
    {
        return $this->_getDataOne('level');
    }


    public function setId($data)
    {
        $this->_aData['news_id'] = $data;
    }

    public function setPid($data)
    {
        $this->_aData['news_pid'] = $data;
    }

    public function setUrl($data)
    {
        $this->_aData['news_url'] = $data;
    }

    public function setUrlFull($data)
    {
        $this->_aData['news_url_full'] = $data;
    }

    public function setTitle($data)
    {
        $this->_aData['news_title'] = $data;
    }

    public function setText($data)
    {
        $this->_aData['news_text'] = $data;
    }

    public function setDateAdd($data)
    {
        $this->_aData['news_date_add'] = $data;
    }

    public function setDateEdit($data)
    {
        $this->_aData['news_date_edit'] = $data;
    }

    public function setSeoKeywords($data)
    {
        $this->_aData['news_seo_keywords'] = $data;
    }

    public function setSeoDescription($data)
    {
        $this->_aData['news_seo_description'] = $data;
    }

    public function setActive($data)
    {
        $this->_aData['news_active'] = $data;
    }

    public function setMain($data)
    {
        $this->_aData['news_main'] = $data;
    }

    public function setSort($data)
    {
        $this->_aData['news_sort'] = $data;
    }

    public function setAutoBr($data)
    {
        $this->_aData['news_auto_br'] = $data;
    }
}

?>